#include<stdio.h>
int main()
{
	char huowu;
	int tongdao;
	int danjia;
	int jige;
	printf("请依次输入您要购买的货物、货物所在的通道，货物的单价，摆放了几个：");
	scanf("%c %d %d %d",&huowu,&tongdao,&danjia,&jige);
	printf("%d:",tongdao);
	int i=0;
	while(i<jige){
		i++;
		printf("%c",huowu);
	}
	printf(" %d",danjia);
	return 0;
}
